package com.meida.module.bus.client.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author flyme
 * @date 2020-11-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_report_outthree")
@TableAlias("bro")
@ApiModel(value = "BusReportOutthree对象", description = "")
public class BusReportOutthree extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "reportOutThreeId", type = IdType.ID_WORKER)
    private Long reportOutThreeId;

    @Excel(name = "备用", fixedIndex = 0)
    @ApiModelProperty(value = "备用字段1")
    private String otherField1;

    @Excel(name = "项目编码", fixedIndex = 1)
    @ApiModelProperty(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "项目编号")
    private String projectNo;

    @Excel(name = "项目名称", fixedIndex = 2)
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @Excel(name = "项目特征描述", fixedIndex = 3)
    @ApiModelProperty(value = "项目特征描述")
    private String projectDesc;

    @Excel(name = "尺寸", fixedIndex = 4)
    @ApiModelProperty(value = "尺寸")
    private String size;

    @Excel(name = "计量单位", fixedIndex = 5)
    @ApiModelProperty(value = "计量单位")
    private String measuringUnit;

    @Excel(name = "工程量", fixedIndex = 6)
    @ApiModelProperty(value = "工程量")
    private BigDecimal quantities;

    @Excel(name = "综合单价",groupName = "金额(元)",fixedIndex = 8)
    @ApiModelProperty(value = "综合单价")
    private BigDecimal syntheticalPrice;

    @Excel(name = "合价",groupName = "金额(元)",fixedIndex = 9)
    @ApiModelProperty(value = "合价")
    private BigDecimal sumPrice;

    @Excel(name = "工程量",groupName = "累计申请",fixedIndex = 10)
    @ApiModelProperty(value = "累计申请_工程量")
    private BigDecimal sumApplyQuantities;

    @Excel(name = "合价金额(元)",groupName = "累计申请",fixedIndex = 11)
    @ApiModelProperty(value = "累计申请_合价_金额(元)")
    private BigDecimal sumApplyAmount;

    @Excel(name = "工程量",groupName = "本次申请",fixedIndex = 12)
    @ApiModelProperty(value = "本次申请_工程量")
    private BigDecimal theApplyQuantities;

    @Excel(name = "合价金额(元)",groupName = "本次申请",fixedIndex = 13)
    @ApiModelProperty(value = "本次申请_合价_金额(元)")
    private BigDecimal theApplyAmount;

    @Excel(name = "工程量",groupName = "管理公司审核",fixedIndex = 14)
    @ApiModelProperty(value = "管理公司审核_工程量")
    private BigDecimal checkQuantities;

    @Excel(name = "合价金额(元)",groupName = "管理公司审核",fixedIndex = 15)
    @ApiModelProperty(value = "管理公司审核_合价_金额(元)")
    private BigDecimal checkAmount;

    @ApiModelProperty(value = "年月")
    private String reportMonth;

    @ApiModelProperty(value = "批号")
    private Integer batchNumber;

    @ApiModelProperty(value = "备用字段2")
    private String otherField2;

    @ApiModelProperty(value = "备用字段3")
    private String otherField3;

}
